package com.binfast.bean.dto.adminRole;

import com.binfast.bean.model.auth.AdminRole;
import lombok.Data;

import java.util.List;

@Data
public class AdminRoleListDTO {

    private List<AdminRole> dataList;

    private Long total;

    private Long pageNo;

    public AdminRoleListDTO(List<AdminRole> dataList) {
        this.dataList = dataList;
    }

    public AdminRoleListDTO(List<AdminRole> adminRoleList, Long total, Long pageNo) {
        this.dataList = adminRoleList;
        this.total = total;
        this.pageNo = pageNo;
    }
}
